package com.xnyzc.lhy.mis.entity.approval;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
*
* 审批列表自定义
*
* @author zhuyubin
* @since 2019-08-07
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaApprovalList对象", description="审批列表")
public class OaApprovalList implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "审批订单号")
    @TableId(value="linked_id", type = IdType.INPUT)
    private String orderNo;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "申请人名")
    private String name;
    @ApiModelProperty(value = "审批事项")
    private Integer applyMatter;
    @ApiModelProperty(value = "申请日期或")
    private Date time;
    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;
    @ApiModelProperty(value = "用户来源")
    private String tag;
    @ApiModelProperty(value = "申请原因")
    private String applyReason;
}
